//
//  ZSHelper.h


#import <Foundation/Foundation.h>

@interface ZSHelper : NSObject
+ (void)showLabelInWindowWithText:(NSString *)text;
+ (UITapGestureRecognizer *)addShowActionToLabel:(UILabel *)label;

+ (UITapGestureRecognizer *)addTapGesToUIView:(UIView *)sender text:(NSString *)text;
//+ (QMUITips *)showError:(NSString *)text inView:(UIView *)view hideAfterDelay:(NSTimeInterval)delay;
//+ (QMUITips *)showSucceed:(NSString *)text inView:(UIView *)view hideAfterDelay:(NSTimeInterval)delay;
//+ (QMUITips *)showInfo:(NSString *)text inView:(UIView *)view hideAfterDelay:(NSTimeInterval)delay;
//+ (QMUITips *)showLoading:(NSString *)text inView:(UIView *)view;
+ (BOOL)hideAllToastInView:(UIView *)view animated:(BOOL)animated;
//约分
+(NSString *)ZS_reductionOfAFractionWitSon:(NSUInteger)son mother:(NSUInteger)mother;
+(void)alertWithTitle:(NSString *)title message:(NSString *)message controller:(UIViewController *)controller;
+(void)alertWithTitle:(NSString *)title message:(NSString *)message controller:(UIViewController *)controller okAction:(void(^)(void)) okAction;
// 规范格式 去掉多位数的开头0或加上小数点左边没有的0
+(NSString *)checkNumberFormat:(NSString *)sourceString;
@end
